package com.jame.aop;

import com.jame.typeenum.AccessModifier;

import java.lang.reflect.Method;

/**
 * @author : Jame
 * @date : 2021-07-02 10:41
 * 该类为包装aop注解上的,将解析后的*.*.*.*对应存放到这个类中
 **/
public class ExecuteClassParticulars {
    /**类或包名*/
    private String pagePath;
    /**访问修饰符*/
    private AccessModifier accessModifier;
    /**返回类型*/
    private String returnType;
    /**方法名*/
    private String MethodName;


    public ExecuteClassParticulars() {
    }

    public ExecuteClassParticulars(String pagePath, AccessModifier accessModifier, String returnType, String methodName, Method method) {
        this.pagePath = pagePath;
        this.accessModifier = accessModifier;
        this.returnType = returnType;
        MethodName = methodName;

    }

    public String getPagePath() {
        return pagePath;
    }

    public void setPagePath(String pagePath) {
        this.pagePath = pagePath;
    }

    public AccessModifier getAccessModifier() {
        return accessModifier;
    }

    public void setAccessModifier(AccessModifier accessModifier) {
        this.accessModifier = accessModifier;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public String getMethodName() {
        return MethodName;
    }

    public void setMethodName(String methodName) {
        MethodName = methodName;
    }

    @Override
    public String toString() {
        return "ExecuteClassParticulars{" +
                "pagePath='" + pagePath + '\'' +
                ", accessModifier=" + accessModifier +
                ", returnType='" + returnType + '\'' +
                ", MethodName='" + MethodName + '\'' +
                '}';
    }
}

